package com.androiddev.stoppa;

import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;

import com.androiddev.stoppa.player.Player;
import com.androiddev.stoppa.util.SystemUiHider;

/**
 * 
 * @see SystemUiHider
 */
public class GameActivity extends Activity {
	
	private Player player;
	

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);

		setContentView(R.layout.game_play_layout);

		player= (Player)getIntent().getSerializableExtra("Player");
		
		((TextView)findViewById(R.id.player1)).setText(player.getName());
	}

	@Override
	protected void onPostCreate(Bundle savedInstanceState) {
		super.onPostCreate(savedInstanceState);
	}

}
